package routers

import (
	casebookcontroller "system_go/controllers/casebookController"

	"github.com/gin-gonic/gin"
)

func caseBookRouter(r *gin.RouterGroup) {
	r.GET("/casebook", casebookcontroller.GetAllCaseBook)
	r.POST("/casebook", casebookcontroller.AddCaseBook)
	r.PUT("/casebook", casebookcontroller.UpdateCaseBook)
	r.DELETE("/casebook/:id", casebookcontroller.DelCaseBook)
}
